package com.wkbb.sports.service;

import com.wkbb.common.base.BaseService;
import com.wkbb.sports.dto.*;
import com.wkbb.sports.feign.BasicFeignService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AchievementService extends BaseService {

    AchievementPageDto getAchievementPageList(Integer type, Long orgId, Long termId, Long gradeId, Long classId, Integer sex, Integer pageNo, Integer pageSize);

    AchievementDto getAchievement(Integer type,Long orgId,Long termId,Long userId);

    void updateAchievement(AchievementDto achievementDto);

    AchievementExcelDto downloadAchievementTmeplateExcel(Integer type, Long orgId, Long termId, Long gradeId, Long classId, Integer sex);

    AchievementExcelDto downloadAchievementExcel(Integer type, Long orgId, Long termId, Long gradeId, Long classId, Integer sex);

    void uploadAchievement(BasicFeignService basicFeignService, Integer type, Long orgId, Long termId, List<Object[]> titleList, List<Object[]> dataList, Integer currentRow);

    void doTermAchievementScore(Long orgId, Long termId);

    void doUserAchievementScore(AchievementProjectRuleDto projectRuleDto, Long orgId, Long termId, Long userId);
}
